<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2022/4/6
  Time: 14:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table>
    <tr>
        <th>书名</th>
        <th>作者</th>
        <th>价格</th>
    </tr>
<c:forEach items="${list}" var="l">
    <tr>
        <td>${l.bname}</td>
        <td>${l.author}</td>
        <td>${l.price}</td>
    </tr>
</c:forEach>
</table>
<a href="/book/toAdd">添加书本</a>
</body>
</html>
